package org.brisling.mobile.service.base;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.brisling.base.service.AbstractBaseQueryService;
import org.brisling.common.ConstSysParam;
import org.brisling.mobile.vo.sysman.VODept;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class AbstractBaseMobileService extends AbstractBaseQueryService<VODept>{

	@PersistenceContext(unitName=ConstSysParam.SUBSYSTEM_SYSMAN)
	@Autowired
	protected void setEntityManager(EntityManager entityManager){
		this.entityManager = entityManager;		
	}
}
